package com.jianyun.jyzs.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;
import java.util.List;

/**
 * Created by liml on 17/6/2.
 * 接收网络请求的 得到通知公告一些评论
 */

public class AnnouncementComment extends Response{
    @Override
    public String toString() {
        return "NoticeDIsscussResult{" +
                "deleted=" + deleted +
                ", message=" + message +
                ", result=" + result +
                ", list=" + list +
                '}';
    }

    private boolean deleted;
    private String message;
    private boolean result;
    private List<AnnComment> list;

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public List<AnnComment> getList() {
        return list;
    }

    public void setList(List<AnnComment> list) {
        this.list = list;
    }

    @DatabaseTable
    public static class AnnComment implements Serializable{
        @Override
        public String toString() {
            return "IndustryBean{" +
                    "commentContent='" + commentContent + '\'' +
                    ", commentEmployeeID='" + commentEmployeeID + '\'' +
                    ", commentIP='" + commentIP + '\'' +
                    ", commentName='" + commentName + '\'' +
                    ", commentTime='" + commentTime + '\'' +
                    ", compcode=" + compcode +
                    ", compid=" + compid +
                    ", compname=" + compname +
                    ", dtLong=" + dtLong +
                    ", enterpriseCode='" + enterpriseCode + '\'' +
                    ", id='" + id + '\'' +
                    ", newsId='" + newsId + '\'' +
                    ", orgcode=" + orgcode +
                    ", username=" + username +
                    '}';
        }

        @DatabaseField
        private String commentContent;
        @DatabaseField
        private String commentEmployeeID;
        @DatabaseField
        private String commentIP;
        @DatabaseField
        private String commentName;
        @DatabaseField
        private String commentTime;
        @DatabaseField
        private String compcode;
        @DatabaseField
        private String compid;
        @DatabaseField
        private String compname;
        @DatabaseField
        private long dtLong;
        @DatabaseField
        private String enterpriseCode;
        @DatabaseField(id = true)
        private String id;
        @DatabaseField
        private String newsId;
        @DatabaseField
        private String orgcode;
        @DatabaseField
        private String username;


        public String getCommentContent() {
            return commentContent;
        }

        public void setCommentContent(String commentContent) {
            this.commentContent = commentContent;
        }

        public String getCommentEmployeeID() {
            return commentEmployeeID;
        }

        public void setCommentEmployeeID(String commentEmployeeID) {
            this.commentEmployeeID = commentEmployeeID;
        }

        public String getCommentIP() {
            return commentIP;
        }

        public void setCommentIP(String commentIP) {
            this.commentIP = commentIP;
        }

        public String getCommentName() {
            return commentName;
        }

        public void setCommentName(String commentName) {
            this.commentName = commentName;
        }

        public String getCommentTime() {
            return commentTime;
        }

        public void setCommentTime(String commentTime) {
            this.commentTime = commentTime;
        }

        public String getCompcode() {
            return compcode;
        }

        public void setCompcode(String compcode) {
            this.compcode = compcode;
        }

        public String getCompid() {
            return compid;
        }

        public void setCompid(String compid) {
            this.compid = compid;
        }

        public String getCompname() {
            return compname;
        }

        public void setCompname(String compname) {
            this.compname = compname;
        }

        public long getDtLong() {
            return dtLong;
        }

        public void setDtLong(long dtLong) {
            this.dtLong = dtLong;
        }

        public String getEnterpriseCode() {
            return enterpriseCode;
        }

        public void setEnterpriseCode(String enterpriseCode) {
            this.enterpriseCode = enterpriseCode;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getNewsId() {
            return newsId;
        }

        public void setNewsId(String newsId) {
            this.newsId = newsId;
        }

        public String getOrgcode() {
            return orgcode;
        }

        public void setOrgcode(String orgcode) {
            this.orgcode = orgcode;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }
    }
}
